package com.ltmall.api.entity;

public class JsonCity {
	private String province;// 省份
	private String county;// 县
	private String city;// 市

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCounty() {
		return county;
	}

	public void setCounty(String county) {
		this.county = county;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	@Override
	public boolean equals(Object obj) {
		JsonCity s = (JsonCity) obj;
		return province.equals(s.province) && city.equals(s.city)
				&& county.equals(s.county);
	}

	@Override
	public int hashCode() {
		String in =  province +county + city ;
		return in.hashCode();
	}

}
